package com.online.shop.dao;


import com.online.shop.pojo.ActionOrderItem;

import java.util.List;

public interface ActionOrderItemDao {
    //根据订单号获得订单详情
    public List<ActionOrderItem> getItemsByOrderNo(Long orderNo);

    /**
     * 批量插入订单项
     * @param orderItems
     * @return
     */
    public int[] batchInsert(List<ActionOrderItem> orderItems);
}
